﻿using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZuesUI.Models
{
    public class TreeListViewModel:BindableBase
    {


        private string _Name;
        public string Name
        {
            get { return _Name; }
            set
            {
                SetProperty(ref _Name, value);
            }
        }

        //地址
        private string _address;
        public string Address
        {
            get { return _address; }
            set
            {
                SetProperty(ref _address, value);
            }
        }

        //地址
        private ObservableCollection<string> combo = new ObservableCollection<string>()
        {
            "上海",
            "北京",
            "深圳"
        };
        public ObservableCollection<string> Combo
        {
            get { return combo; }
            set
            {
                SetProperty(ref combo, value);
            }
        }

        private ObservableCollection<TreeListViewModel> _children = new ObservableCollection<TreeListViewModel>();

        public ObservableCollection<TreeListViewModel> Children
        {
            get { return this._children; }
            set
            {
                SetProperty(ref _children,value);
            }
        }
    }
}
